#ifndef XINITIALIZATION_FILE_H
#define XINITIALIZATION_FILE_H

#include <fstream>
#include <string>

#ifdef XEXPORTING
#define XEXPORT_DLL __declspec(dllexport)
#else
#define XEXPORT_DLL __declspec(dllimport)
#endif

class XEXPORT_DLL XInitializationFile
{
private:
	std::string FileString;

public:
	void LoadFile(const char* path, int bufferSize);

	float GetFloat(std::string key, std::string section = "");
	int GetInt(std::string key, std::string section = "");
	std::string GetString(std::string key, std::string section = "");
};


#endif